IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'ChapterSetNewOrder')
	BEGIN
		DROP  Procedure  ChapterSetNewOrder
	END

GO

CREATE Procedure ChapterSetNewOrder
@ChapterID Int,
@SagaID Int,
@Ordinal Int
AS

Update Chapter
Set ViewOrder = @Ordinal
Where ChapterID = @ChapterID




GO



